Grabs are non-failable now, we do not need to check for
the backend seat actually having been able to perform the
request.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4020>
return true;
const grab = Main.pushModal(this, {actionMode: this._actionMode});
- if (grab.get_seat_state() !== Clutter.GrabState.ALL) {
- Main.popModal(grab);
- return false;
- }
-
this._grab = grab;
Main.layoutManager.emit('system-modal-opened');